<template><div><h2 id="window" tabindex="-1"><a class="header-anchor" href="#window"><span>window</span></a></h2>
<p>全局作用域</p>
<h2 id="window-screen" tabindex="-1"><a class="header-anchor" href="#window-screen"><span>window.screen</span></a></h2>
<p>包含用户屏幕信息</p>
<ul>
<li>screen.width</li>
<li>screen.height</li>
<li>screen.availWidth</li>
<li>screen.availHeight</li>
</ul>
<h2 id="window-location" tabindex="-1"><a class="header-anchor" href="#window-location"><span>window.location</span></a></h2>
<p>表示当前网页DOM信息</p>
<h2 id="window-history" tabindex="-1"><a class="header-anchor" href="#window-history"><span>window.history</span></a></h2>
<p>表示一个标签页的页面栈的所有信息</p>
<h2 id="window-navigator" tabindex="-1"><a class="header-anchor" href="#window-navigator"><span>window.navigator</span></a></h2>
<p>获取用户浏览器的所有信息，也可以调用用户设备</p>
<h2 id="window-document" tabindex="-1"><a class="header-anchor" href="#window-document"><span>window.document</span></a></h2>
<p>页面的所有元素</p>
</div></template>


